#define _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>

int main() {
    int count, i;
    static int x = 0;
    static int y = 0;
    for (i = 0; i < 10; i++)
    {
        scanf("%d", &count);
        if (count > 0)
        {
            x = x+1;
        }
        if (count < 0)
            y = y+1;
    }
    printf("positive:%d\n", x);
    printf("negative:%d", y);
    return 0;
}